package com.leruan.aasimp.service.impl;

import java.util.List;
import java.util.Map;

import com.leruan.aasimp.dao.CarTypeDao;
import com.leruan.aasimp.entity.CarType;
import com.leruan.aasimp.service.CarTypeService;

public class CarTypeServiceImpl implements CarTypeService {
	private CarTypeDao CarTypeDao;
	public CarTypeDao getCarTypeDao() {
		return CarTypeDao;
	}

	public void setCarTypeDao(CarTypeDao carTypeDao) {
		CarTypeDao = carTypeDao;
	}

	public void delete(CarType carType) {
		CarTypeDao.delete(carType);
	}

	public CarType findById(long l) {
		// TODO Auto-generated method stub
		return null;
	}

	public CarType findByUserId(long parseLong) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<CarType> findall() {
		return CarTypeDao.findAll();
	}

	public List<CarType> getByList(Map<String, String> map, int pageNo) {
		return null;
	}

	public Long getTotal(Map<String, String> map) {
		// TODO Auto-generated method stub
		return null;
	}

	public void update(CarType carType) {
		CarTypeDao.update(carType);
	}

	public void addType(CarType carType) {
		CarTypeDao.addType(carType);
	}

	public List<CarType> findByCom(long parseLong) {
		return CarTypeDao.findByCom(parseLong);
	}
}
